<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
		<title>gdp's Comments</title>
		<language>en-us</language>
		<link>https://www.intensedebate.com/users/81251</link>
		<description>Comments by Brad Fults</description>
<item>
<title>Union Station : Rails and Merb Merge: Performance (Part 2 of 6)</title>
<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/#IDComment49519777</link>
<description>What if you partitioned the @collection by type such that you could determine the template to render with up front (for each segment)? You could loop over the segments and, for each type, run your existing loop to call render(). This would presumably incur an up-front O(n) penalty for the partition() call, but I imagine that being faster than doing the type-to-template conversion for every element in the collection. </description>
<pubDate>Wed, 30 Dec 2009 02:13:16 +0000</pubDate>
<guid>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/#IDComment49519777</guid>
</item>	</channel>
</rss>